import type { TableHeader, operationInstance } from "@/components/dzs-table/@types";

export const TABALE_HEADER: TableHeader[] = [
    {
        label: "资产名称",
        key: "title"
    },
    {
        label: "购买金额",
        key: "buy_amount",
        props : {
            sortable : true
        }
    },
    {
        label: "已经购买（天）",
        key: "day_count",
        props : {
            sortable : true
        }
    },
    {
        label: "每天平均价",
        key: "day_price",
        isSlot : true
    },
    {
        label: "备注",
        key: "remarks"
    },
    {
        label: "购买时间",
        key: "buy_time",
        props : {
            sortable : true
        }
    },
    {
        label: "创建人",
        key: "username"
    }
];

export const operation: Array<operationInstance> = ['edit', 'delete', 'detail'];
